home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / xaes_new.lzh / OBJCDRAW.C < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-22  |  730 b   |  21 lines

  1. /********************************************************************
  2.  *                                                                0.01*
  3.  *    XAES: Windowed object draw routine                                *
  4.  *                                                                    *
  5.  *    Copyright (C) 1994, Bitgate Software                            *
  6.  *                                                                    *
  7.  ********************************************************************/
  8.  
  9. #include "xaes.h"
  10.  
  11. GLOBAL void WObjc_Draw(WINDOW *win, int x, int y, int w, int h)
  12. {
  13.     if (win)
  14.         objc_draw((((win->state & W_ICONIFIED) && (win->iconify)) ? win->iconify : win->tree), win->edobject, 2, x, y, w, h);
  15. }
  16.  
  17. GLOBAL void WObjc_Draw_Out(WINDOW *win, int x, int y, int w, int h)
  18. {
  19.     if (win)
  20.         objc_draw((((win->state & W_ICONIFIED) && (win->iconify)) ? win->iconify : win->tree), 0, 2, x, y, w, h);
  21. }